<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>

	<title>比赛审核列表</title>
	
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="expires" content="0" />
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
	<meta http-equiv="description" content="This is my page" />
	<script type="text/javascript" src="/js/base/base.js"></script>
	<link rel="stylesheet" type="text/css" href="" />

</head>

<body>
<form method="post">
<table>
	<tr>
		<td colspan="6">
			<input type="button" value="通过" onclick="dosubmit(this.form, '/audit/match?status=1&method=updateMatchStatusByIds&token=<%=request.getParameter("token") %>');" />
			<input type="button" value="拒绝" onclick="dosubmit(this.form, '/audit/match?status=2&method=updateMatchStatusByIds&token=<%=request.getParameter("token") %>');" />
		</td>
	</tr>
	<c:forEach var="match" items="${list}">
		<tr>
			<td><input type="checkbox" name="id" value="${match.id}" /></td>
			<td>${match.typeName}</td>
			<td>${match.startDate}</td>
			<td>${match.team1Name}</td>
			<td>${match.team2Name}</td>
			<td>${match.channelIds}</td>
			<td>${match.status}</td>
		</tr>
	</c:forEach>
</table>
</form>
</body>
</html>